package net.xinqushi.design.templateMethod.pool;

public interface PoolableConnectionFactory<T> {
		
	T makeConnection() throws Exception;
	
	void destroyConnection(T obj) throws Exception;
	
	boolean validateConnection(T obj);
	
	void activateConnection(T obj) throws Exception;
	
	void passivateConnection(T obj) throws Exception;
	
}
